<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
		<title>${ user }留言列表</title>
		<style type="text/css"><!--a:link { text-decoration: none;}a:visited { text-decoration: none;}a:hover { text-decoration: none;}a:active { text-decoration: none;}--></style>
		<style type="text/css">
        	td{
				border-bottom-width: thin;
				border-bottom-style: solid;
				border-bottom-color: #CF3;
				height:48px;
			}
        </style>
	</head>

	<body>
	<div style="height:1024px; background:url(../img/yeaf.jpg);"><br><br><br><br><br><br><br><br><br><br>
		<span style="font-weight: bold;">${ user } 所有留言</span>
		<hr color="#FAFAFA"/><br/><br/>
		<table  width="80%" cellspacing="0" cellpadding="0" align="center">
			<tr>
				<td>留言用户</td>
				<td>留言内容</td>
				<td>留言时间</td>
				
			</tr>
			<s:iterator value="#request.allmessage">
				<tr>
					<td width="20%">
						<a href="messageaction?me=${ liuname }&user=${ username }" class="linka" title="给好友私信"><s:property value="liuname" /></a>
					</td>
					<td width="30%">
						<s:property value="message" />
					</td>
					<td width="60%">
						<s:date name="messagetime" format="yyyy-MM-dd HH:mm:ss"/>
					</td>
				</tr>
			</s:iterator>
		</table></div>
		<a href="myindexaction?me=${ user }" class="linka"><img src="../img/Home.png">返回首页</a>
	</body>
</html>
